home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19951130-19960209 / 000310_news@columbia.edu _Sat Jan 20 13:46:58 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id NAA10385 for <kermit.misc@watsun>; Sat, 20 Jan 1996 13:46:56 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id NAA26245 for kermit.misc@watsun; Sat, 20 Jan 1996 13:46:55 -0500 (EST)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Path: news.columbia.edu!panix!bloom-beacon.mit.edu!apollo.hp.com!lf.hp.com!news.dtc.hp.com!col.hp.com!usenet.eel.ufl.edu!news.mathworks.com!news.kei.com!nntp.coast.net!torn!istar.net!news1.vancouver.istar.net!news.vancouver.istar.net!van-bc!unixg.ubc.ca!nntp.cs.ubc.ca!news.UVic.CA!sol!klassen
  6. From: klassen@sol.UVic.CA (Melvin Klassen)
  7. Subject: Re: Transparent Printing Not Working
  8. Message-ID: <1996Jan20.093957.21405@sol.UVic.CA>
  9. Sender: news@sol.UVic.CA
  10. Nntp-Posting-Host: sol
  11. Organization: University of Victoria, Victoria B.C. CANADA
  12. References: <4dmb4e$mk0@t3.mscf.uky.edu>
  13. Date: Sat, 20 Jan 96 09:39:57 GMT
  14. Lines: 27
  15.  
  16. David Rice <drice@pop.uky.edu> writes:
  17. >I'm not able to get the transparent printing to work. I'm using 
  18. >a PC running KERMIT 3.14 to call into a SUN Server running Solaris 2.4. 
  19. >The communications run through an Annex Terminal Server. I've been able to 
  20. >get other key codes translated and working fine. Help! What am I doing wrong. 
  21. >#include <stdio.h>
  22. >main()
  23. >{
  24. >    printf("/27/5i");
  25. >    printf("Hello - should print\n");
  26. >;    printf("\1554i");
  27. >    printf("Hello - shouldn't print\n");
  28. >    return(0);
  29. >}
  30. >---------------------------------23881071820974--
  31.  
  32. As we discovered, what's "wrong" is the Annex Terminal Server.
  33.  
  34. What happens is that your application sends a "transparent-mode" packet,
  35. the A.T.S. sends a "set cursor to row=x/column=y" command, to the printer,
  36. your application sends another packet,
  37. the A.T.S. sends a "set cursor to row=x/column=y" command, to the printer,
  38. etc., which totally fouls-up any attempt to make a "clean" data-path
  39. between the host and the printer.
  40.  
  41. When we run the application through an IBM 7171 Protocol Converter,
  42. rather than through the A.T.S., everything works correctly.